package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.system.User;
import org.example.entity.task.AttackTask;

import java.util.List;

/**
 * @author 魏锴
 * @description 针对表【tb_task_attack】的数据库操作Service
 * @createDate 2024-01-11 18:23:57
 */
public interface AttackTaskService extends IService<AttackTask> {
    boolean insertTask(AttackTask attackTask);

    boolean updateTask(AttackTask attackTask);

    boolean deleteTask(int id);
    AttackTask getAttackById(int id);

    List<AttackTask> getTaskList();

    boolean publishTask(int id);

    boolean insertTester(int task_id, int user_id);

    boolean deleteTester(int id);

    List<User> getTesterInfo();
}
